package com.sumainfor.wx.tenant.controller.director;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.tenant.feign.Zfeign.ZpcGmioFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.Serializable;
import java.util.Map;

/**
 *延期
 */
@RestController
@RequestMapping("/director/DiWxDeferredApply")
public class DiWxDeferredApplyController implements Serializable {
    @Autowired
    private ZpcGmioFeign zpcGmioFeign;
    /**
     *延期申请
     */
    @PostMapping("/addDi")
    public JsonResult addDi(@RequestBody Map<String,Object>params){
        System.out.println("params:"+params);
        return zpcGmioFeign.addDi(params);
    }
}
